/*
 * Copyright (c) 2009-2013 EvTech Project
 * All rights reserved.
 * 
 * This file is part of Symbol Matching.
 *
 * Symbol Matching is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or 
 * (at your option) any later version.
 *
 * Symbol Matching is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Symbol Matching.  If not, see <http://www.gnu.org/licenses/>.
 * 
 */
package fi.honkalampisaatio.reaktiopeli.setup;


import fi.honkalampisaatio.reaktiopeli.xml.GameDifficulty;
import fi.honkalampisaatio.reaktiopeli.xml.ReactionGameSettings;

public class SetupData {
	private GameDifficulty gameDifficulty;
	private boolean showScore;
	private boolean showTime;
	private boolean omitMistakes;
	private String correctAnswerImage;
	
	public void setGameData(ReactionGameSettings settings) {
		this.gameDifficulty = settings.getGameDifficulty();
		this.showScore = settings.isShowScore();
		this.setOmitMistakes(settings.isOmitMistakes());
		this.correctAnswerImage = settings.getCorrectAnswerImage();
	}
	
	public GameDifficulty getGameDifficulty() {
		return gameDifficulty;
	}
	public void setGameDifficulty(GameDifficulty gameDifficulty) {
		this.gameDifficulty = gameDifficulty;
	}
	public boolean isShowScore() {
		return showScore;
	}
	public void setShowScore(boolean showScore) {
		this.showScore = showScore;
	}

	public void setOmitMistakes(boolean omitMistakes) {
		this.omitMistakes = omitMistakes;
	}

	public boolean isOmitMistakes() {
		return omitMistakes;
	}

	public String getCorrectAnswerImage() {
		return correctAnswerImage;
	}
	public void setCorrectAnswerImage(String correctAnswerImage) {
		this.correctAnswerImage = correctAnswerImage;
	}

	
	public boolean isShowTime() {
		return showTime;
	}
	public void setShowTime(boolean showTime) {
		this.showTime = showTime;
	}

}
